package com.qiyeji.real_estate.entity;

public class TemporaryWorkKey {
    private String scode;

    private String pcode;

    private String taskID;

    private String parentTaskID;

    public TemporaryWorkKey(String scode, String pcode, String taskID) {
        this.scode = scode;
        this.pcode = pcode;
        this.taskID = taskID;
    }

    public TemporaryWorkKey(String scode, String pcode, String taskID, String parentTaskID) {
        this.scode = scode;
        this.pcode = pcode;
        this.taskID = taskID;
        this.parentTaskID = parentTaskID;
    }

    public String getScode() {
        return scode;
    }

    public void setScode(String scode) {
        this.scode = scode == null ? null : scode.trim();
    }

    public String getPcode() {
        return pcode;
    }

    public void setPcode(String pcode) {
        this.pcode = pcode == null ? null : pcode.trim();
    }

    public void setTaskID(String taskID) {
        this.taskID = taskID;
    }

    public String getTaskID() {
        return taskID;
    }

    public void setParentTaskID(String parentTaskID) {
        this.parentTaskID = parentTaskID;
    }

    public String getParentTaskID() {
        return parentTaskID;
    }

    @Override
    public String toString() {
        return "TemporaryWorkKey{" +
                "scode='" + scode + '\'' +
                ", pcode='" + pcode + '\'' +
                ", taskID='" + taskID + '\'' +
                ", parentTaskID='" + parentTaskID + '\'' +
                '}';
    }
}